package priv.yiyuan.example.design.bridge;

/**
 * 消息类
 * <p>
 * 抽象部分
 *
 * @author YiYuan
 * @data 2025/8/11
 * @apoNote
 */
public abstract class AbstractMessage {

    protected MessageSender messageSender;

    protected AbstractMessage(MessageSender messageSender) {
        this.messageSender = messageSender;
    }

    public abstract void send(String message);
}
